﻿using System;
using System.Collections.Generic;
using System.Text;
using Model.Task;
using BLL.Action.Core.Base;
using IBLL;
using BLL.Action.Transfer;
using BLL.Business.ActionBusiness;

namespace BLL.Action
{
     public class ActionDefault:ActionBase
    {
         protected override void ExecuteQueue(Queue<TaskDefine> queue)
         {
             base.ExecuteQueue(queue);
         }

         protected override  ITransfer TransferHolder
         {
             get
             {
                 WebserviceTransferBase tranfer = new WebserviceTransferBase();
                 ContextAwareHolder.AutowireObject(tranfer);
                 return tranfer;
             }
            
         }

         protected override IActionBusiness ActionBusinessHolder
         {
             get
             {
                 ActionBusiness actionHolder = new ActionBusiness();
                 ContextAwareHolder.AutowireObject(actionHolder);
                 return actionHolder;
             }
             
         }
    }
}
